pkspr script guide

i used to dream in the dark of palisades park

close tab

played by

Champ

Devil wears Prada
She/her
Twenty-two
May 13
Castelia City, Unova
Demisexual
Undercover mean girl
Executive
Know your worth & add your tax
awards
375 posts
part of
TAG WITH @erin
Erin Caulfield
pkspr script guide
POSTED ON Aug 17, 2020 1:16:20 GMT
Erin Caulfield Avatar
Quick guide on how to use the pokesprite scripts. We have 2 scripts you can choose from: pkspr and pokesprite. Keep in mind neither of them will show up in mobile view mode, because Proboards does not load the script in that view mode. Read below to pick the one you want to use!



PKSPR

Only goes up to GENERATION 7
Friend-sized 40x30px
Has both pokémon and item sprites
Sometimes conflicts with Proboards' pagination script :(

[attr="class","pkspr pkmn-meowth"]
[span][attr="class","pkspr pkmn-meowth"][/span]


You can add more classes to specify your pokémon is of a certain variant, like:
gender - male/female
form - alola, mega
color - shiny
dir - left/right

[attr="class","pkspr pkmn-meowth form-alola color-shiny"]
[span][attr="class","pkspr pkmn-meowth gender-male form-alola color-shiny"][/span]


If you try to use variants that don't exist, the script will not read them and will instead default to whatever does exist.

In the example above, meowth doesn't have gender-specific variations, so the script is showing the default sprite for a shiny alolan meowth.

Can also be used for items:

[attr="class","pkspr mega-stone-gardevoirite"]
[span][attr="class","pkspr mega-stone-gardevoirite"][/span]


For more information, you can refer to this repository's sheet for a full list of available sprites. Ctrl+F is your friend.



POKÉSPRITE

Pokémon all the way up to GENERATION 8
Since some pokémon aren't available in SwSh, there are old gen sprites mixed in as well
Only pokémon sprites, I didn't import the items (yet!)
Bigger size: 68x56px
Size can still be adjusted with CSS / newclasses

Same logic, different syntax:

[attr="class","pokesprite pokemon meowth-galar shiny"]
[span][attr="class","pokesprite pokemon meowth-galar shiny"][/span]


img
The Shula Region
Hogwarts AU
RPG Unlimited
MR
The Enroi Region
N:FB
Vyrehaven
Celestial Guardians, AU Sailor Moon RP
EO GENESIS
Code and Crown: An advanced literate warriors cats RP, set in medieval times
Swords Clashing